/***
 * Copyright © 2020 ECHRONOS Corp. All rights reserved.
 * This software is proprietary to and embodies the confidential
 * technology of ECHRONOS Corp.  Possession, use, or copying
 * of this software and media is authorized only pursuant to a
 * valid written license from ECHRONOS Corp or an authorized sublicensor.
 */
package com.dmz.workflow.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 流程实例的状态表
 */
@Data
@TableName("ech_workflow_process_status")
public class ProcessInstanceStatus {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updatedTime;
    /**
     * 公司id
     */
    private Integer companyId;
    /**
     * 发起人
     */
    private Integer startUser;
    /**
     * 流程实例id
     */
    private String processInstanceId;

    /**
     * 流程状态：0 待审核，1:通过，2:拒绝 3:撤销
     */
    private Integer status;

    /**
     * 用户名
     */
    private String memberName;

    /**
     * 流程名
     */
    private String processName;

    /**
     * 流程编号
     */
    private String processNo;

    /**
     * 流程实例类型 0 普通流程 1 圈层价流程
     */
    private Integer processInstanceType;

}